package com.fanjia.crm.service;

import com.fanjia.crm.model.Permission;

import java.util.List;

/**
 * Created by FanJia on 2020/9/17 10:34
 */
public interface IPermissionService {

    public List<Permission> findAllMenus();
    public List<Permission> findAllPermission();
    public List<Permission> findAllParentMenus();

    public void insert(Permission permission);

    public List<Permission> findPermissionListByUserId(Integer userId);
}
